﻿using System.Configuration;

namespace MySql.Simple.Mapper.Configuration
{
    /// <summary>
    /// The class that have the XML config file data loaded into it via the configuration Manager.
    /// </summary>
    public class ConnectionElementSection : ConfigurationSection
    {
        public const string ElementKey = "connections";

        /// <summary>
        /// Gets the monitors.
        /// </summary>
        /// <value>The monitors.</value>
        [ConfigurationProperty(ElementKey)]
        public ConnectionElementCollection Connections
        {
            get { return (ConnectionElementCollection)base[ElementKey]; }
        }
    }
}